package com.qhg.saas_server.mapper;


import com.qhg.saas_server.pojo.Upload;
import com.qhg.saas_server.pojo.dto.UpLoadDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UpLoadMapper {


    /**
     * 添加upload记录
     * @param upload
     */
    void insert(Upload upload);

    /**
     * 根据uploadId删除upload记录
     * @param uploadId
     */
    void delete(@Param("uploadId") Integer uploadId);

    /**
     * 根据条件查询uploadDto列表
     * @param upLoadDto
     */
    List<UpLoadDto> getUploadByCondition(UpLoadDto upLoadDto);
}
